package com.hexinfo.dmpro.monitor.dao;


import com.hexinfo.dmpro.monitor.model.YarnMetricsModel;
import org.springframework.stereotype.Repository;

/**
 * (MonitorYarnInfo)表数据库访问层
 *
 * @author makejava
 * @since 2021-11-23 15:51:58
 */
@Repository
public interface YarnMetricsDao {


    /**
     * 新增数据
     *
     * @param monitorYarnInfo 实例对象
     * @return 影响行数
     */
    int insert(YarnMetricsModel monitorYarnInfo);

    int insertNow(YarnMetricsModel monitorYarnInfo);

    int deleteNow(YarnMetricsModel monitorYarnInfo);

}

